package B_FactoryMode.AbstractFactoryMode;

/**
 * Created by zc on 2017/3/11.
 */
public class Test {
    public static void main(String[] args) {
        /**
         * 创建一个圣诞装人类工厂
         */
        PersonFactory factory = new Person_MC_Factory();
        Boy boy = factory.getBoy();
        boy.drawMan();
        factory = new Person_HN_Factory();
        Girl girl = factory.getGirl();
        girl.drawWomen();
    }
}
